<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title> FAQ - <?=SITE_NAME?> </title>
<?php include VIEWS.'header.html'?>
</head>

<body>

<?php include VIEWS.'topbar.html'?>

<div id="content">

    <?php include VIEWS.'leftnav.html'?>

    <div id="right">
    <?php include VIEWS.'sidesearch.html'?>

    <!--
    <div style="float:right;margin-right:2px;background-color:#EEEEEE;">
        <form action="">
        <?php echo round_table('215', 'EEEEEE', 'white', 3, 3, 'top')?>
        <table cellpadding="0" cellspacing="0" width="215">
        <tr><td align="center" class="px12"><b>FAQ：</b><input type="text" name="s" size="8" value="<?php echo $hot['data']['search']?>" /> <input class="bluebtn" type="submit" value="搜索" /></td></tr>
        </table>
        <?php echo round_table('215', 'EEEEEE', 'white', 3, 3, 'bottom')?>
        </form>
    </div>
    -->

    <h1>乐铺FAQ</h1>
    <div style="float:right" class="px12">
    &#8250; <script type="text/javascript">needHelp();</script><noscript><a href="<?php echo $_servername?>/forum/service/?from=itemlist" target="_blank">需要帮助？</a></noscript>&nbsp;&nbsp;
    </div>

    <h3 style="margin-bottom:5px"><img src="/images/icon_arrow_down.gif" alt="arrow down" /><?php echo $list['q'] ? $list['q'] : '常见问题'?></h3>
    <hr />

<?php if(count($hot['list'])):?>
<!-- Qlist -->
    <ol style="line-height:180%;margin-top:0" start="<?php echo $hot_i = $hot_j =($hot['page']['p']-1)*$hot['page']['_s']+1?>">
<?php foreach($hot['list'] as $v):?>
    <!-- <?php echo $v['id']?> -->
    <li><a tabindex="2" href="#a<?php echo $hot_i?>" onclick="new Effect.ScrollTo('q<?php echo $hot_i?>',{duration:2.0}); return false;"><?php echo $v['q']?></a></li>
<?php $hot_i++; endforeach?>
    </ol>
<?php if($hot['page']['next']):?><div style="text-align:right"><a tabindex="3" href="<?php echo $hot['page']['url']?>p=<?php echo $hot['page']['next']?>">更多……</a></div><?php endif?>
<?php endif?>

<?php if(count($hot['list'])):?>
<!-- Alist -->
<?php foreach($hot['list'] as $v):?>
    <p id="q<?php echo $hot_j?>" style="border-bottom:1px dotted #CCCCCC">
    <a name="a<?php echo $hot_j?>"></a>
    <h3><?php echo $hot_j.'.'.$v['q']?><?if($session['admin']):?><a href="/faq/<?php echo $v['id']?>">Link</a><?php endif?></h3>
    <p style="margin-left:30px;line-height:140%"><?php echo $v['a']?></p>
    <div align="right"><a class="px11" href="#top" onclick="new Effect.ScrollTo('top'); return false;">返回顶部</a></div>
    </p>
<?php $hot_j++; endforeach?>
<?php endif?>

<?php if($list['a']):?>
<!-- A -->
<p style="line-height:160%;margin:0 10px"><?php echo $list['a']?></p>
<hr>
<br />
&nbsp;<a tabindex="3" href="/faq.php">返回FAQ首页</a>
<?php endif?>

<?php if(!count($hot['list']) && !$list['a']):?><div class="errbox roundNormal">&nbsp;&nbsp;&nbsp;没有找到您需要的帮助信息，如需帮助请到 <a href="/forum/service?from=faqs" class="white">客服论坛</a> 留言</div><?php endif?>

    </div>
</div>

<?php include VIEWS.'copyright.html'?>

</body>
</html>
